package com.cxrj.zhsq.parkingLotManage.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.parkingLotManage.entity.PropertyParkingSpace;

public interface ParkingSpaceService {

	Map<String, Object> selectParkingSpacePage(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> deleteParkingSpace(String id, HttpServletRequest request);

	Map<String, Object> deleteByIds(String[] ids);

	Map<String, Object> insertParkingSpaceList(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectParkingSpaceById(String id,HttpServletRequest request);

	Map<String, Object> checkingParkingSpaceNumber(String number, HttpServletRequest request);

	Map<String, Object> insertParkingSpace(PropertyParkingSpace parkingSpace, HttpServletRequest request);

	Map<String, Object> updateParkingSpace(PropertyParkingSpace parkingSpace, HttpServletRequest request);

	Map<String, Object> updateParkingSpaceState(PropertyParkingSpace parkingSpace, HttpServletRequest request)throws Exception;

}
